num = 10
def func_c():
    global  num
    num = 20
    print(num)

def func_d():
    print(num)

# num = 30
# func_d()
func_c()
func_d()
